package com.xianxiaohui.bridge;

public abstract class RefinedCar extends Car{

    public RefinedCar(Engine engine) {
        super(engine);
    }

    @Override
    public void drive() {
        this.engine.start();
        System.out.println("brand : " + getBrand());
    }

    public abstract String getBrand();
}
